package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description: 活动关联的奖品信息
 * User: Li_yizYa
 * Date: 2025/8/9
 * Time: 13:05
 */
@Data
public class CreatePrizeByActivityParam implements Serializable {
    /**
     * 活动关联的奖品 id
     */
    @NotNull(message = "活动关联的奖品id不能为空")
    private Long prizeId;

    /**
     * 奖品数量
     */
    @NotNull(message = "活动关联的奖品数量不能为空")
    private Long prizeAmount;

    /**
     * 奖品等级
     */
    @NotBlank(message = "活动关联的奖品等级不能为空")
    private String prizeTiers;
}
